package com.army.stock.service;

import com.army.stock.domain.ArmySupplier;
import com.javalife.common.domain.page.PageInfo;
import com.javalife.common.domain.page.PaginatedArrayList;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangyong on 14/12/25.
 */
public interface ArmySupplierService {

    public PaginatedArrayList getArmySupplierPageInfo(int currentPage,int pageSize,Map<String ,Object> map);

    public void insertArmySupplier(ArmySupplier armySupplier);

    public ArmySupplier getArmySupplierById(Long id);

    public void updateArmySupplier(ArmySupplier armySupplier);

    public Integer delArmySupplier(Long id);

    public List<ArmySupplier> getArmySuppliers(Map<String, Object> params);

    public ArmySupplier getArmySupplierByIdFromCache(Long id);

}
